home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / DYN401.ZIP / examples / exam35 / main.c < prev    next >
C/C++ Source or Header  |  1996-02-16  |  1KB  |  70 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6. /*
  7.  *
  8.  *    This source code is CONFIDENTIAL and
  9.  *    PROPRIETARY to Algorithms Corporation. Unauthorized
  10.  *    distribution, adaptation or use    may
  11.  *    be subject to civil and    criminal penalties.
  12.  *
  13.  *    Copyright (c) 1993 Algorithms Corporation
  14.  *    3020 Liberty Hills Drive
  15.  *    Franklin, TN  37064
  16.  *
  17.  *    ALL RIGHTS RESERVED.
  18.  *
  19.  *
  20.  *
  21.  */
  22.  
  23.  
  24.  
  25. #include "generics.h"
  26.  
  27.  
  28. main(int argc, char *argv[])
  29. {
  30.     object    x;
  31.  
  32.     InitDynace(&argc);
  33.  
  34.     x = gIota(ShortArray, 40);
  35. /*    x = vNew(ShortArray, 2, 5, 8);        */
  36.     vReshape(x, 2, 5, 8);
  37.     vChangeShortValue(x, 88, 3, 4);
  38.  
  39.     gPrint(x, stdoutStream);
  40.  
  41.     gDispose(x);
  42.  
  43.     return 0;
  44. }
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. /*
  53.  *
  54.  *    This source code is CONFIDENTIAL and
  55.  *    PROPRIETARY to Algorithms Corporation. Unauthorized
  56.  *    distribution, adaptation or use    may
  57.  *    be subject to civil and    criminal penalties.
  58.  *
  59.  *    Copyright (c) 1993 Algorithms Corporation
  60.  *    3020 Liberty Hills Drive
  61.  *    Franklin, TN  37064
  62.  *
  63.  *    ALL RIGHTS RESERVED.
  64.  *
  65.  *
  66.  *
  67.  */
  68.  
  69.  
  70.